package com.hjm.project.agentPosOperation.mapper;

import java.util.List;
import com.hjm.project.agentPosOperation.domain.AgentPosOperation;

/**
 * 机具采购、退款Mapper接口
 * 
 * @author maker-platform
 * @date 2021-04-07
 */
public interface AgentPosOperationMapper 
{
    /**
     * 查询机具采购、退款
     * 
     * @param id 机具采购、退款ID
     * @return 机具采购、退款
     */
    public AgentPosOperation selectAgentPosOperationById(Integer id);

    /**
     * 查询机具采购、退款列表
     * 
     * @param agentPosOperation 机具采购、退款
     * @return 机具采购、退款集合
     */
    public List<AgentPosOperation> selectAgentPosOperationList(AgentPosOperation agentPosOperation);

    /**
     * 新增机具采购、退款
     * 
     * @param agentPosOperation 机具采购、退款
     * @return 结果
     */
    public int insertAgentPosOperation(AgentPosOperation agentPosOperation);

    /**
     * 修改机具采购、退款
     * 
     * @param agentPosOperation 机具采购、退款
     * @return 结果
     */
    public int updateAgentPosOperation(AgentPosOperation agentPosOperation);

    /**
     * 删除机具采购、退款
     * 
     * @param id 机具采购、退款ID
     * @return 结果
     */
    public int deleteAgentPosOperationById(Integer id);

    /**
     * 批量删除机具采购、退款
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAgentPosOperationByIds(String[] ids);
}
